package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 任务四日志对象 task_log_four
 * 
 * @author ruoyi
 * @date 2024-09-18
 */
public class TaskLogFour extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 日志表id */
    private Long id;

    /** 关联的任务id */
    @Excel(name = "关联的任务id")
    private Long taskId;

    /** 类型(0.操作行为 1.操作日志) */
    @Excel(name = "类型(0.操作行为 1.操作日志)")
    private Integer type;

    /** 标题 */
    @Excel(name = "标题")
    private String title;

    /** 进度汇报内容 */
    @Excel(name = "进度汇报内容")
    private String content;

    /** 操作人 */
    @Excel(name = "操作人")
    private String operatorName;

    /** 操作时间  （进度汇报时间，当前系统时间） */
    @Excel(name = "操作时间  ", readConverterExp = "进=度汇报时间，当前系统时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date operatorTime;

    /** 开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private String beginTime;

    /** 结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private String endTime;

    public String getBeginTime() {
        return beginTime;
    }

    public void setBeginTime(String beginTime) {
        this.beginTime = beginTime;
    }

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setTaskId(Long taskId) 
    {
        this.taskId = taskId;
    }

    public Long getTaskId() 
    {
        return taskId;
    }
    public void setType(Integer type) 
    {
        this.type = type;
    }

    public Integer getType() 
    {
        return type;
    }
    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }
    public void setOperatorName(String operatorName) 
    {
        this.operatorName = operatorName;
    }

    public String getOperatorName() 
    {
        return operatorName;
    }
    public void setOperatorTime(Date operatorTime) 
    {
        this.operatorTime = operatorTime;
    }

    public Date getOperatorTime() 
    {
        return operatorTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("taskId", getTaskId())
            .append("type", getType())
            .append("title", getTitle())
            .append("content", getContent())
            .append("operatorName", getOperatorName())
            .append("operatorTime", getOperatorTime())
            .toString();
    }
}
